using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN DanhSachBaoLuuService****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:15/12/2011 44:12:34</para>
	/// <para>Class Name: DanhSachBaoLuuService</para>
	/// <para>Description: </para>
	///</summary>

	
	public partial class DanhSachBaoLuuService : IDanhSachBaoLuuService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:15/12/2011 44:12:34</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: DanhSachBaoLuu_ID</para>
		/// <para>Output: DanhSachBaoLuuEntity</para>
		///</summary>
		public DanhSachBaoLuuEntity SelectOne(int DanhSachBaoLuu_ID){
			DanhSachBaoLuuDAO dao = new DanhSachBaoLuuDAO();
			return dao.SelectOne(DanhSachBaoLuu_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:15/12/2011 44:12:34</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of DanhSachBaoLuuEntity</para>
		///</summary>
		public List<DanhSachBaoLuuEntity> SelectAll(){
			DanhSachBaoLuuDAO dao = new DanhSachBaoLuuDAO();
			return dao.SelectAll();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:15/12/2011 44:12:34</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDS(){
			DanhSachBaoLuuDAO dao = new DanhSachBaoLuuDAO();
			return dao.SelectAllDS();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:15/12/2011 44:12:34</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of DanhSachBaoLuuEntity</para>
		///</summary>
		public List<DanhSachBaoLuuEntity> SelectAllFilter(string strFilter){
			DanhSachBaoLuuDAO dao = new DanhSachBaoLuuDAO();
			return dao.SelectAllFilter(strFilter);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:15/12/2011 44:12:34</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDSFilter(string strFilter){
			DanhSachBaoLuuDAO dao = new DanhSachBaoLuuDAO();
			return dao.SelectAllDSFilter(strFilter);
		}
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:15/12/2011 44:12:34</para>
		/// <para>Name: Save</para>
		/// <para>Input: DanhSachBaoLuuEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Save(DanhSachBaoLuuEntity o){
			DanhSachBaoLuuDAO dao = new DanhSachBaoLuuDAO();
			return dao.Save(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:15/12/2011 44:12:34</para>
		/// <para>Name: Save</para>
		/// <para>Input: DanhSachBaoLuuEntity</para>
		/// <para>Output: DanhSachBaoLuuEntity</para>
		///</summary>
		public DanhSachBaoLuuEntity SaveRet(DanhSachBaoLuuEntity o){
			DanhSachBaoLuuDAO dao = new DanhSachBaoLuuDAO();
			dao.Save(o);
			return o;
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:15/12/2011 44:12:34</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of DanhSachBaoLuuEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void SaveList(List<DanhSachBaoLuuEntity> list){
			DanhSachBaoLuuDAO dao = new DanhSachBaoLuuDAO();
			dao.SaveList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:15/12/2011 44:12:34</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of DanhSachBaoLuuEntity</para>
		/// <para>Output: List of DanhSachBaoLuuEntity</para>
		///</summary>
		public List<DanhSachBaoLuuEntity> SaveListRet(List<DanhSachBaoLuuEntity> list){
			this.SaveList(list);
			return list;
		}
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:15/12/2011 44:12:34</para>
		/// <para>Name: Update</para>
		/// <para>Input: DanhSachBaoLuuEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Update(DanhSachBaoLuuEntity o){
			DanhSachBaoLuuDAO dao = new DanhSachBaoLuuDAO();
			return dao.Update(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:15/12/2011 44:12:34</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of DanhSachBaoLuuEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void UpdateList(List<DanhSachBaoLuuEntity> list){
			DanhSachBaoLuuDAO dao = new DanhSachBaoLuuDAO();
			dao.UpdateList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:15/12/2011 44:12:34</para>
		/// <para>Name: UpdateSinhVien_ID</para>
		/// <para>Input: NewSinhVien_ID,DanhSachBaoLuu_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateSinhVien_ID(int NewSinhVien_ID,int DanhSachBaoLuu_ID){
			DanhSachBaoLuuDAO dao = new DanhSachBaoLuuDAO();
			return dao.UpdateSinhVien_ID(NewSinhVien_ID,DanhSachBaoLuu_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:15/12/2011 44:12:34</para>
		/// <para>Name: UpdateNamHoc_ID</para>
		/// <para>Input: NewNamHoc_ID,DanhSachBaoLuu_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateNamHoc_ID(int NewNamHoc_ID,int DanhSachBaoLuu_ID){
			DanhSachBaoLuuDAO dao = new DanhSachBaoLuuDAO();
			return dao.UpdateNamHoc_ID(NewNamHoc_ID,DanhSachBaoLuu_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:15/12/2011 44:12:34</para>
		/// <para>Name: UpdateHocKy_ID</para>
		/// <para>Input: NewHocKy_ID,DanhSachBaoLuu_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateHocKy_ID(int NewHocKy_ID,int DanhSachBaoLuu_ID){
			DanhSachBaoLuuDAO dao = new DanhSachBaoLuuDAO();
			return dao.UpdateHocKy_ID(NewHocKy_ID,DanhSachBaoLuu_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:15/12/2011 44:12:34</para>
		/// <para>Name: UpdateNganhHoc_ID</para>
		/// <para>Input: NewNganhHoc_ID,DanhSachBaoLuu_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateNganhHoc_ID(int NewNganhHoc_ID,int DanhSachBaoLuu_ID){
			DanhSachBaoLuuDAO dao = new DanhSachBaoLuuDAO();
			return dao.UpdateNganhHoc_ID(NewNganhHoc_ID,DanhSachBaoLuu_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:15/12/2011 44:12:34</para>
		/// <para>Name: UpdateNgayBaoLuu</para>
		/// <para>Input: NewNgayBaoLuu,DanhSachBaoLuu_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateNgayBaoLuu(DateTime NewNgayBaoLuu,int DanhSachBaoLuu_ID){
			DanhSachBaoLuuDAO dao = new DanhSachBaoLuuDAO();
			return dao.UpdateNgayBaoLuu(NewNgayBaoLuu,DanhSachBaoLuu_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:15/12/2011 44:12:34</para>
		/// <para>Name: UpdateThoiHanBaoLuu</para>
		/// <para>Input: NewThoiHanBaoLuu,DanhSachBaoLuu_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateThoiHanBaoLuu(DateTime NewThoiHanBaoLuu,int DanhSachBaoLuu_ID){
			DanhSachBaoLuuDAO dao = new DanhSachBaoLuuDAO();
			return dao.UpdateThoiHanBaoLuu(NewThoiHanBaoLuu,DanhSachBaoLuu_ID);
		}
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:15/12/2011 44:12:34</para>
		/// <para>Name: Delete</para>
		/// <para>Input: DanhSachBaoLuuEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Delete(DanhSachBaoLuuEntity o){
			DanhSachBaoLuuDAO dao = new DanhSachBaoLuuDAO();
			return dao.Delete(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:15/12/2011 44:12:34</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: DanhSachBaoLuu_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool DeleteByID(int DanhSachBaoLuu_ID){
			DanhSachBaoLuuDAO dao = new DanhSachBaoLuuDAO();
			return dao.DeleteByID(DanhSachBaoLuu_ID);
		}
		#endregion

		#region Select,delete by DanhSachBaoLuu_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END DanhSachBaoLuuWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

